package com.vincent.template.service.security;

import com.vincent.template.commons.base.VctPair;

import java.util.List;

/**
 * @author Vincent Wang
 * @date 2021/1/18 14:21
 */
public interface UserRoleAuthService {

    /**
     * 根据userId查询用户所有角色Code和权限Code
     * @param userId
     * @return
     */
    VctPair<List<String>, List<String>> findRolesAndAuths(String userId);
}
